<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8" />
<title>Universal Selector (*)</title>
<meta name="description" content="CSS3参考手册之: 通配选择符(*)" />
<meta name="keywords" content="通配选择符, css3选择符, css3, css3参考手册" />
<meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" />
<meta name="robots" content="all" />
<!--[if lte IE 8]>
<script src="../../js/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="../../skin/article.css" />
<link rel="stylesheet" href="../../bg.css" />
<style type="text/css" media="screen">
	#hd span{
		font-size: 25px;
		color:#0382ad;
		font-weight: 700;
		line-height: 26px;
	}
	
</style>
</head>
<body>
<nav id="guide" class="g-mod">
	<div class="from">
		<a href="http://css.doyoe.com/" target="_blank">CSS3参考手册</a>
		<span>&#187;</span>
		<a href="../index.htm">晗安笔记</a>
		<span>&#187;</span>
		<a href="index.htm" id="category" rel="hanan/css" name="css-style">晗安css</a>
		<span>&#187;</span>
	</div>
	<div class="to">
		<span class="label">相关内容：</span>
		<div class="g-combobox g-transition">
			<a href="?" class="g-transition target">
				<strong>其它元素选择符参考</strong>
				<span>选择其它项<!--[if lte IE 7]><ins>IE7 and earlier, Get to die</ins><![endif]--></span>
			</a>
			<div class="g-transition list">
				<ul>
					<!-- 插入分类快速导航 -->
				</ul>
			</div>
		</div>
	</div>
</nav>
<header id="hd">
<span>css引入的样式</span>
<!-- 	<section id="title" class="g-mod">
		<h1 class="tit">标签</h1>
		<ul class="info">
			<li><strong>版本：CSS2</strong></li>
		</ul>
		插入浏览器信息
	</section> -->
</header>
<section id="bd">
	<section id="syntax" class="g-mod g-attr">
		<h2 class="tit">语法：</h2>
		<div class="cont">
		<!-- 在P标签内放标签语法代码 -->
			<p style="background: #272822;color:#ffffff">
				<span style="color: #f92672">&lt;html&gt;</span><br />
   &nbsp;&nbsp;<span style="color: #f92672">&lt;head&gt;</span><br />

     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #75715e">&lt;!--1、 嵌入样式 --&gt;</span><br />
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;style </span><span style="color: #a6e22e">type=</span><span style="color: #e6db74">&quot;text/css&quot;</span><span style="color: #f92672">&gt;<br /></span>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">p</span><span style="color: #f8f8f2">{<br /></span>
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #66d9ef">color</span><span style="color: #f92672">:</span> <span style="color: #66d9ef">red</span>;<br />
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #66d9ef">font-size</span><span style="color: #f92672">:</span> <span style="color: #ae81ff">30px</span><span style="color: #f8f8f2">;<br /></span>
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f8f8f2">}</span><span style="color: #f92672"><br /></span>
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;/style&gt;</span><br />

     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #75715e">&lt;!--2、 引入样式 --&gt;</span><br />
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;link</span> <span style="color: #a6e22e">rel=</span><span style="color: #e6db74">&quot;stylesheet&quot;</span> <span style="color: #a6e22e">href=</span><span style="color: #e6db74">&quot;css文件.css&quot;</span> <span style="color: #f92672">/&gt;</span><br />

   &nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;/head&gt;</span><br />
   &nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;body&gt;</span><br />

      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #75715e">&lt;!--3、 行内样式 --&gt;</span><br />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;h1</span> <span style="color: #a6e22e">style=</span><span style="color: #e6db74">&quot;color:blue;font-size:50px;&quot;</span><span style="color: #f92672">&gt;</span>后盾网 人人做后盾houdunwang<span style="color: #f92672">&lt;/h1&gt;</span><br />

      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #75715e">&lt;!-- 嵌入样式 --&gt;</span><br />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #75715e">&lt;!-- p{后盾网 人人做后盾}*8 快速输入 --&gt;</span><br />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;p&gt;</span>后盾网 人人做后盾<span style="color: #f92672">&lt;/p&gt;</span><br />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;p&gt;</span>后盾网 人人做后盾<span style="color: #f92672">&lt;/p&gt;</span><br />
    &nbsp;&nbsp;&nbsp;<span style="color: #f92672">&lt;/body&gt;</span><br />
<span style="color: #f92672">&lt;/html&gt;</span><br />

4、/*在css文件中用下面的代码，将style.css文件里面的样式导入到这个css文件中*/<br />

@import url(style.css); <br />
			</p>
		</div>
	</section>
	<section id="intro" class="g-mod g-attr">
		<h2 class="tit">说明：</h2>
		<div class="cont">
			<!-- <strong>选定所有对象。</strong> -->
			<ul>
				
			</ul>
		</div>
	</section>

	<section id="example" class="g-mod g-attr">
		<h2 class="tit">示例：</h2>
		<div class="cont">
		<!-- textarea标签内放运行的代码 -->
			<textarea cols="90" rows="20">
<html>
  <head>
     <!--1、 嵌入样式 -->
     <style type="text/css">
        p{
            color: red;
            font-size: 30px;
        }
     </style>
     <!--2、 引入样式 -->
     <link rel="stylesheet" href="css文件.css" />
   </head>
   <body>
      <!--3、 行内样式 -->
      <h1 style="color:blue;font-size:50px;">后盾网 人人做后盾houdunwang</h1>
      <!-- 嵌入样式 -->
      <!-- p{后盾网 人人做后盾}*8 快速输入 -->
      <p>后盾网 人人做后盾</p>
      <p>后盾网 人人做后盾</p>
   </body>
</html>
			</textarea>
			<p><input type="button" value="运行" class="g-btn g-btn-sure" /></p>
		</div>
	</section>
</section>
<footer id="ft">
	<aside id="rights" class="g-mod">
		<!-- 插入浏览器及版权信息 -->
	</aside>
</footer>
<script src="../../js/jquery.js"></script>
<script src="../../js/inner.js"></script>
</body>
</html>